const Router = require("express").Router;
const router = new Router();
const clientController = require("../controllers/clientController.js");

router.post("/login", clientController.login);
router.post("/logout", clientController.logout);
router.post("/add-info", clientController.addInfo);
router.post("/change-password", clientController.changePass);
router.post("/reset-password", clientController.resetPassword);
router.post("/change-password/:token", clientController.changePassword);
router.get("/activate/:link", clientController.activate);
router.get("/refresh", clientController.refresh);

module.exports = router;
